<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>实验1</title>
</head>
<body>
    <h4>青春不常在，抓紧谈恋爱</h4>
    <table>
    <tr><td>性别：</td>       
    <td>
    <input type="radio" name="sex" value="nan">男
    <img src="./img/man.jpg" alt="">
    <input type="radio" name="sex" value="nv">女
    <img src="./img/women.jpg" alt="">
    </td>
    </tr>
    <tr>
        <td>生日：</td>
    <td>
    <select name="year" id="yearSelect">
        <option value="">--请选择年份--</option>
    </select>
    <script>
        var select = document.getElementById('yearSelect');
        for (var i = 1949; i <= 2025; i++) {
            var option = document.createElement('option');
            option.value = i;
            option.textContent = i;
            select.appendChild(option);
        }
    </script>

    <select name="month" id="monthSelect">
        <option value="">--请选择月份--</option>
    </select>
    <script>
        var select = document.getElementById('monthSelect');
        for (var i = 1; i <= 12; i++) {
            var option = document.createElement('option');
            option.value = i;
            option.textContent = i;
            select.appendChild(option);
        }
    </script>
    <select name="day" id="daySelect">
        <option value="">--请选择日--</option>
    </select>
    <script>
        var select = document.getElementById('daySelect');
        for (var i = 1; i <= 31; i++) {
            var option = document.createElement('option');
            option.value = i;
            option.textContent = i;
            select.appendChild(option);
        }
    </script>
    </td>
    <tr>
    <td>所在地区</td>
    <td><input type="text"></td>
    </tr>
    <tr><td>婚姻状况</td>
    <td>
    <input type="radio" name="marry" value="未婚">未婚
    <input type="radio" name="marry" value="已婚">已婚
    <input type="radio" name="marry" value="离婚">离婚
    </td>
    </tr>
    <tr><td>学历：</td>
    <td><input type="text"></td>
    </tr>
    <tr><td>喜欢的类型：</td>
    <td>
    <input type="checkbox" name="enjoy">妩媚的
    <input type="checkbox" name="enjoy">可爱的
    <input type="checkbox" name="enjoy">小鲜肉
    <input type="checkbox" name="enjoy">老腊肉
    <input type="checkbox" name="enjoy">都喜欢
    </td>
    </tr>
    <tr><td>
    <label for="introduce">个人介绍</label></td>
    <td>
    <textarea name="introduce" id="introduce" rows="5" cols="50">马俊.23215220125</textarea>
    </td></tr>
    <tr><td></td>
    <td>
    <input type="button" value="免费注册">
    </td></tr>
    <tr><td></td><td>
    <input type="checkbox" name="enjoy">我同意注册条款和会员加入标准</td></tr>
    <tr><td></td><td>
    <a href="#">我是会员，立即登入</a></td>
    <tr>
    <td></td>
    <td>
    <h5>我承诺</h5></td></tr>
    <ul>
        <tr><td></td><td><li>年满18岁、单身</li></td></tr>
        <tr><td></td><td><li>抱着严肃的态度</li></td></tr>
        <tr><td></td><td><li>真诚寻找另一半</li></td></tr>
    </ul>
    </td>
    </tr>
    </table>
</body>
</html>